<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
  <head>
    <title>数据丢失</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <link rel="icon" type="image/x-icon" href="/cctv/favicon.ico"/>
    <link rel="stylesheet" type="text/css" href="/cctv/css/userview/failure.css"/>
  </head>
  <body>
    <div id="main">
      <h1 th:text="#{user.failure.title}">错误-404</h1>
      <div id="page">
        <div id="h1"><h3 th:text="#{user.failure.label1}"></h3></div>
        <div id="h2"><a style="color:#999" th:text="#{user.failure.label2}"></a></div>
        <div id="h3" th:if="${session.user == null}">点击链接<a href="/cctv/project/showlist" th:text="#{user.failure.label3}"></a></div>
        <div id="h3" th:if="${session.user != null && session.user.role == 'role1'}">点击链接<a href="/cctv/company/showlist" th:text="#{user.failure.label3}"></a></div>
      	<div id="h3" th:if="${session.user != null && session.user.role != 'role1'}">点击链接<a href="/cctv/project/showlist" th:text="#{user.failure.label3}"></a></div>
      </div>
    </div>
  </body>
</html>